import Workbench from '../pages/Workbench'
import GoodsManage from '../pages/Goods/GoodsManage'
import Categories from '../pages/Goods/Categories'
import GoodsFormat from '../pages/Goods/GoodsFormat'
import GoodsEvaluat from '../pages/Goods/GoodsEvaluat'
import SpikeConfig from '../pages/Marketing/SpikeConfig'
import SpikeGoods from '../pages/Marketing/SpikeGoods'
// import Bargain from '../pages/Marketing/Bargain'
import LiveManage from '../pages/Marketing/LiveManage'
import CreateLive from '../pages/Marketing/CreateLive'
import JoinGoods from '../pages/Marketing/JoinGoods'
import JoinList from '../pages/Marketing/JoinList'
import BargainGoods from '../pages/Marketing/BargainGoods'
import BargainList from '../pages/Marketing/BargainList'
import AddBargain from '../pages/Marketing/AddBargain'
import SpikeConfigShop from '../pages/Marketing/SpikeConfigShop'
import AddGoods from '../pages/Goods/GoodsManage/AddGoods'
import UserAuth from '../pages/Authority/UserAuth'
/* // 新增  门店
import ApplyList from '../pages/Marketing/ApplyList'
import Payment from '../pages/Marketing/Payment'
import Deposit from '../pages/Marketing/Deposit'
import Configuration from '../pages/Marketing/Configuration'
import Indent from '../pages/Marketing/Indent'
import Outlet from '../pages/Marketing/Outlet'
import Commodity from '../pages/Marketing/Commodity'


//订单
import Management from '../pages/Order/Management'//订单管理
import Overview from '../pages/Order/Overview'//订单概述
import Evaluation from '../pages/Order/Evaluation'//评价管理
import Delivery from '../pages/Order/Delivery'//订单配送 */
const menuRoute = [
    {
        path: '/layout/workbench',
        component: Workbench,
        name: '工作台',
        islogin: true,
        roles:'101'
    } 
    , {
        path: '/layout/goodsManage',
        component: GoodsManage,
        name: '商品管理',
        islogin: true,
        roles:'102'
    },
    {
        path: '/layout/categories',
        component: Categories,
        name: '商品分类',
        islogin: true,
        roles:'103'
    },
    {
        path: '/layout/goodsFormat',
        component: GoodsFormat,
        name: '商品规格',
        islogin: true,
        roles:'104'
    },
    {
        path: '/layout/goodsEvaluat',
        component: GoodsEvaluat,
        name: '商品评价',
        islogin:true,
        roles:'105'
    },
    {
        path: '/layout/spikeConfig',
        component: SpikeConfig,
        name: '秒杀配置',
        islogin: true,
        roles:'106'
    },
    {
        path: '/layout/shop',
        component: SpikeConfigShop,
        islogin:true,
    },
    {
        path: '/layout/spikeGoods',
        component: SpikeGoods,
        name: '秒杀商品',
        islogin: true,
        roles:'107'
    }
    ,
    {
        path: '/layout/bargainGoods',
        component: BargainGoods,
        name: '砍价商品',
        islogin: true,
        roles:'108'
    },
    {
        path: '/layout/bargainList',
        component: BargainList,
        name: '砍价列表',
        islogin: true,
        roles:'109'
    },
    {
        path: '/layout/addBargain',
        component: AddBargain,
    },
    {
        path: '/layout/liveManage',
        component: LiveManage,
        name: '直播列表',
        islogin: true,
        roles:'110'
    },
    {
        path: '/layout/createLive',
        component: CreateLive,
        name: '创建直播',
        islogin: true,
        roles:'111'
    }
    ,
    {
        path: '/layout/joinGoods',
        component: JoinGoods,
        name: '拼团商品',
        islogin: true,
        roles:'112'
    },
    {
        path: '/layout/joinList',
        component: JoinList,
        name: '拼团列表',
        islogin: true,
        roles:'113'
    }
    ,
    {
        path: '/layout/addGoods',
        component: AddGoods,
        islogin: true,
        name: '商品信息',
        islogin:true
    },
    // {
    //     path: '/layout/applyList',
    //     component: ApplyList,
    //     name: '申请列表',
    //     islogin:true,
    //     roles:'114'
    // },
    // {
    //     path: '/layout/configuration',
    //     component: Configuration,
    //     name: '配置',
    //     islogin:true,
    //     roles:'115'
    // },
    // {
    //     path: '/layout/outlet',
    //     component: Outlet,
    //     name: '门店',
    //     islogin:true,
    //     roles:'116'
    // },
    // {
    //     path: '/layout/commodity',
    //     component: Commodity,
    //     name: '商品1',
    //     islogin:true,
    //     roles:'117'
    // },
    // {
    //     path: '/layout/indent',
    //     component: Indent,
    //     name: '订单',
    //     islogin:true,
    //     roles:'118'
    // },
    // {
    //     path: '/layout/deposit',
    //     component: Deposit,
    //     name: '提现',
    //     islogin:true,
    //     roles:'119'
    // },
    // {
    //     path: '/layout/payment',
    //     component: Payment,
    //     name: '到店付款',
    //     islogin:true,
    //     roles:'120'
    // },
    {
        path: '/layout/auth',
        component: UserAuth,
        name: '权限管理',
        islogin: true,
        roles:'125'
    }
]

export default menuRoute